package com.itentbase.match.pojo.po;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;


/**
 * 足球赛事赔率实体类
 *
 * @author wjl
 * @date 2024-12-26 11:47:41
 */
@TableName("football_odds")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FootballOdds implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer matchId;  //足球赛事ID
    private Byte type;            //玩法：  0胜平负，1让求胜平负，2比分，3总进球数，4半全场
    private String title;         //标题 例如：胜、平、负、让胜、让平等等
    private BigDecimal odds;  //赔率
    private Integer sort;   //排序
    private Boolean status;      //是否命中：false:未命中，true 命中
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;
}

